import os
import sys
import json
import django
import datetime

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, BASE_DIR)
os.environ['DJANGO_SETTINGS_MODULE'] = 'finance_c2c.settings'
django.setup()
from apps.coffee.client import CoffeeApi


def coffee_client_t():
    a = CoffeeApi("202012011659433295594463", "32955", 246)
    a.member_pay()


if __name__ == '__main__':
    coffee_client_t()
